home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
win_utl1
/
irdc240.zip
/
IRDCDOS.EXE
/
IRDQ.DOC
< prev
next >
Wrap
Text File
|
1996-04-05
|
19KB
|
386 lines
--------------------------------------------------------------------
IRDQ - INFRA-RED Command Line Control
--------------------------------------------------------------------
Version 2.40
April 1996
Copyright 1993-1996 - D.Huras - All Rights Reserved
------------------------------------------------IRDQ.DOC v2.40------
CONTENTS
--------------------------------------------------------------------
1. DESCRIPTION
2. WARRANTY
3. SETUP INSTRUCTIONS
4. COMMAND LINE ARGUMENTS
5. IRDQ DOS ENVIRONMENT VARIABLE
6. BUTTON NAMES
7. PROGRAM OVERVIEW
8. RELEASE HISTORY
1. DESCRIPTION
--------------------------------------------------------------------
IRDQ is a program that sends commands to a ONE FOR ALL (*1) Remote
Control that instruct the remote control to emit INFRA RED (I/R)
signals. Essentially, IRDQ emulates a person pressing buttons on
the remote control keypad. Any button sequence that can be
physically entered on the remote control keypad can be emulated with
the IRDQ program including setting the Device type.
IRDQ is a companion program to IRDC. The full functioning version
of IRDQ is supplied with the Registered Version of IRDC. A limited
function (*2) version of IRDQ is supplied with the Shareware Version
of IRDC.
This brief document focuses on the use of IRDQ and is meant to
accompany the IRDC document which goes into much more detail
regarding the hardware interfaces, communication ports, software
applications and problem determination.
----
(*1) ONE FOR ALL, ONE FOR ALL 5, ONE FOR ALL 6, ONE FOR ALL 8,
ONE FOR ALL 12 and The "Universal" Remote are trademarks of
Universal Electronics Inc.
(*2) The limited function version is subject to the following
limitations:
i) 3 Second Pause upon program load.
ii) Quiet Mode not supported.
iii) Supports only 2 Button names per file with /F: argument.
2. WARRANTY
--------------------------------------------------------------------
IRDQ is supplied AS IS. The author disclaims all warranties,
expressed or implied, including, without limitation, the warranties
of merchantability and of fitness for any purpose. The author
assumes no liability for damages, direct or consequential, which may
result from the use of IRDQ.
3. SETUP INSTRUCTIONS
--------------------------------------------------------------------
Setup Instructions differ based on the model of the ONE FOR ALL
remote that you are using. It is very important that you correctly
identify the model before using the program. Refer to the IRDC.DOC
file to identify your remote and then follow the appropriate Setup
Instructions below.
SETUP INSTRUCTIONS FOR:
-----------------------
ONE FOR ALL 6 [URC4000]
ONE FOR ALL 12 [URC5000]
1) Plug the Special Serial Cable into the PC Serial Port.
2) Plug the Special Serial Cable into the ONE FOR ALL Remote Control.
3) Ensure that there are no loose connections.
4) Run the IRDQ Program.
5) VERY IMPORTANT: DO NOT TOUCH ANY BUTTONS on the remote control when
when using the software.
NOTES:
------
- The author assumes no liability for damages, direct or
consequential, which may result from the use of IRDQ.
- If you physically press buttons on the keypad while the software
is communicating with the remote control strange things can happen
that could affect the operability of your remote control. If the
memory contents of your remote control are altered then the only way
to restore it to normal operation is to have it reloaded by
Universal Electronics or a local Service Dealer.
--------------------------------------------------------------------
SETUP INSTRUCTIONS FOR:
-----------------------
ONE FOR ALL 5 [URC2005]
ONE FOR ALL 6A [URC4005]
ONE FOR ALL 6A1 [URC4050-1]
ONE FOR ALL 6A2 [URC4050-2]
ONE FOR ALL 6B [URC4005]
ONE FOR ALL 8 [URC6050]
1) Plug the Special Serial Cable into the PC Serial Port.
2) Plug the Special Serial Cable into the ONE FOR ALL Remote Control.
3) Ensure that there are no loose connections.
4) VERY IMPORTANT: You must physically press a button on the remote
control and then run the IRDQ program with a button name WITHIN 5
SECONDS to put the remote online. Once the remote is online it will
remain online (and will not respond to physical key presses) until
you explicitly take it offline by running IRDQ with the "OFFLINE"
button name (or the OFFLINE button within a button file). The LED
on the remote will flash twice in acknowledgement of the request.
NOTE:
-----
- The author assumes no liability for damages, direct or
consequential, which may result from the use of IRDQ.
4. COMMAND LINE ARGUMENTS
--------------------------------------------------------------------
DEFAULTS: If the program is run without any command line arguments
it will default to COMMPORT 1 & MODEL 6.
The following command line arguments can be entered in any order:
BUTTON - Name of Button to be pressed (see BUTTON NAMES).
/Annnn(n) - Base I/O Address applicable to User Defined CommPort
(Must be specified as a decimal number)
If /I argument is present, but /A is not; then Base
I/O Address will default to 1016 (3F8 Hex).
/Cn - COMMPORT where n = 1,2,3 or 4
/F:[d]:\filespec - File Name containing Button Names of Buttons
to be pressed. (eg. /F:C:\IRDQ\TV.ON)
/In - IRQ applicable to User Defined CommPort where n = 1 - 15
If /A argument is present, but /I is not; then IRQ
will default to 4.
/Mn - MODEL where n = 5, 6, 6A, 6A1, 6A2, 6B, 8 or 12
/Q - Quiet Mode; Display no messages during program execution
/? - Display Command Line Arguments & Environment Variable syntax
NOTE: - COMMAND LINE OPTIONS OVERRIDE ANY SETTINGS STORED WITHIN
DOS ENVIRONMENT VARIABLE, IRDQ.
- MULTIPLE OCCURRENCES OF THE SAME COMMAND LINE ARGUMENT
ARE ACCEPTED; THE LAST INSTANCE WILL BE USED BY IRDQ.
5. IRDQ DOS ENVIRONMENT VARIABLE
--------------------------------------------------------------------
To minimize program size and improve performance, IRDQ does not
support an INI file of program parameters. However, you can avoid
using command line arguments by setting up a DOS environment
variable that contains program settings. The DOS environment
variable 'IRDQ' is used to pass settings to IRDQ.EXE. You use the
DOS 'SET' command to assign a value to an environment variable.
The syntax is:
SET IRDQ=m,c,i,a,q
where: m = Model (5,6,6A,6A1,6A2,6B,8 or 12)
c = CommPort (1 thru 4)
i = IRQ (1 - 15)
a = Base I/O address (must be > 0)
q = Quiet Mode
You do not need to specify values for parameters that you do
not wish to change. However, IRDQ environment variable parameters
are positional so you must use comma's as placeholders if you
wish to skip a parameter. Trailing comma placeholders are not
required. Examples are shown below:
To turn on Quiet Mode: SET IRDQ=,,,,Q
To set Model to 12: SET IRDQ=12
To set CommPort to 2: SET IRDQ=,2
To set Model 12,CommPort 2
and turn Quiet Mode On: SET IRDQ=12,2,,,Q
To set IRQ to 5: SET IRDQ=,,5
To set Model 12,IRQ 5, &
Base I/O Address* 12832: SET IRDQ=12,,5,12832,Q *specify in
decimal
The DOS environment variable only needs to be SET once so a logical
place for it is within your AUTOEXEC.BAT file.
6. BUTTON NAMES
--------------------------------------------------------------------
The following Button Names can be passed directly on the Command
Line as an argument OR within the Button File passed to IRDQ with
the /F: command line argument.
+----------------------+-----------------------------------------+
| | ONE FOR ALL MODELS SUPPORTED |
| +------+------+------+------+------+------+
| BUTTON NAMES | 5 | 6 | 6A | 6B | 8 | 12 |
| (& Synonyms) | 2005 | 4000 | 4050 | 4005 | 6050 | 5000 |
+----------------------+------+------+------+------+------+------+
| "<" | | X | | | | |
+----------------------+------+------+------+------+------+------+
| "<<",REW,REWIND | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| ">>",FF | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 0 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 1 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 2 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 3 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 4 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 5 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 6 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 7 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 8 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| 9 | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| A | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| A/B | | | X | | X | X |
+----------------------+------+------+------+------+------+------+
| AMP | | | | | X | X |
+----------------------+------+------+------+------+------+------+
| AUDIO,AUD | | | X | | X | |
+----------------------+------+------+------+------+------+------+
| AUX | X | | | | | X |
+----------------------+------+------+------+------+------+------+
| AUX1 | | X | X | X | X | |
+----------------------+------+------+------+------+------+------+
| AUX2 | | X | X | X | X | |
+----------------------+------+------+------+------+------+------+
| B | X | X | X | X | X | |
+----------------------+------+------+------+------+------+------+
| B/AUDIO | | | | | | X |
+----------------------+------+------+------+------+------+------+
| C | X | X | X | X | X | |
+----------------------+------+------+------+------+------+------+
| C/VIDEO | | | | | | X |
+----------------------+------+------+------+------+------+------+
| CABLE,CBL | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| CD | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| CH+ | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| CH- | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| DISPLAY,DISP | X | | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| ENTER,ENT | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| F1 | | | | | | X |
+----------------------+------+------+------+------+------+------+
| F2 | | | | | | X |
+----------------------+------+------+------+------+------+------+
| F3 | | | | | | X |
+----------------------+------+------+------+------+------+------+
| F4 | | | | | | X |
+----------------------+------+------+------+------+------+------+
| MAGIC | X | | X | X | X | |
+----------------------+------+------+------+------+------+------+
| MUTE | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| PAUSE | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| PLAY | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| POWER,PWR | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| PROGRAM,PGM | X | | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| RECALL,RCL | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| RECORD,REC | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| SAT | | | | | | X |
+----------------------+------+------+------+------+------+------+
| SCAN | X | | X | X | X | |
+----------------------+------+------+------+------+------+------+
| SHIFT | | | X | X | X | |
+----------------------+------+------+------+------+------+------+
| SLEEP | | | | | X | X |
+----------------------+------+------+------+------+------+------+
| STOP | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| TUNER, TUN | | | | | X | X |
+----------------------+------+------+------+------+------+------+
| TV | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| TV/VCR | | X | | | | |
+----------------------+------+------+------+------+------+------+
| VCR | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| VIDEO,VID | | | X | | X | |
+----------------------+------+------+------+------+------+------+
| VOL+ | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| VOL- | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
| OFFLINE | X | | X | X | X | |
+----------------------+------+------+------+------+------+------+
| WAIT | X | X | X | X | X | X |
+----------------------+------+------+------+------+------+------+
NOTES: 1) Double Quotes required for <<,<, & >>
----- You can use REW, FF rather than "<<" and ">>" respectively.
2) The WAIT button does not exist; it simply instructs IRDQ
to pause for ½ second. This is useful when you want the
program to wait for the remote control to "catch up",
ie. when running a macro. (When the remote is running a
macro, it will not act upon additional instructions
until it has completed the macro). If you are having
problems with a button file then try inserting
additional WAIT commands between the button names.
2) The OFFLINE button does not exist; it instructs specific
ONE FOR ALL Models to go offline (and respond to physical
keypresses).
7. PROGRAM OVERVIEW
--------------------------------------------------------------------
When the program loads, it looks for the IRDQ variable in the DOS
Environment and then proceeds to parse it if found. If any errors
are detected then the program will terminate with an appropriate
message, otherwise it will parse the command line arguments (which
override the IRDQ environment variable). Once again, if any errors
are found it will terminate with an appropriate message.
If the /F: argument was included on the command line then IRDQ will
attempt to open the file and process the button names. Otherwise,
IRDQ will look for a button name on the command line and execute
it. Note: If both the /F: argument AND a button name are passed
on the command line, IRDQ will ignore the button name and process
the button file.
8. RELEASE HISTORY - IRDQ Commercial Software
--------------------------------------------------------------------
Date Version Changes
------ ---------- ----------------------------------------------
APR'96 2.40 -Added support for new URC-4050 chipsets
(Models 6A1 & 6A2)
OCT'95 2.20 -Added "AUD" and "VID" button synonyms
MAR'95 2.12 -Updated keycodes for models URC4005,URC4050 &
URC6050 (DISPLAY)
FEB'95 2.11 -Upgraded encryption scheme to improve program
compatibility
JAN'95 2.10 -Updated keycodes for models URC4005,URC4050 &
URC6050 (PROGRAM,RECORD,DISPLAY & MUTE keys)
NOV'94 2.00 -Added support for 4 additional ONE FOR ALL
remote control models (URC2005,URC4005,
URC4050,URC6050)
-Added Quick Upgrade/Registration Support
-Limited Function version distributed with
Shareware Version of IRDC.
APR'94 1.01 -Corrected Error Message displayed when an
invalid Base I/O Address is detected.
OCT'93 1.00 -First Public Release
-OFA-12 Button Definition Problems Corrected
(Mode Buttons, A,B,C, Power, CH+,CH-)
-European Date Format Support Added
SEP'93 1.00ß Beta Test
------